package com.qf.shopping.pojo.System;

import org.springframework.boot.autoconfigure.domain.EntityScan;


public class Menu {

    private long  id;
    private String menuName;
    private String action;//名称
    private String name;//菜单名称
    private String className;//菜单元素的class
    private Integer status;//排序
    private Integer sort;//状态
    private Integer type;//类型
    private String parentName;//父类ID

    public Menu() {
    }

    public Menu(long id, String menuName, String action, String name, String className, Integer status, Integer sort, Integer type, String parentName) {
        this.id = id;
        this.menuName = menuName;
        this.action = action;
        this.name = name;
        this.className = className;
        this.status = status;
        this.sort = sort;
        this.type = type;
        this.parentName = parentName;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id=" + id +
                ", menuName='" + menuName + '\'' +
                ", action='" + action + '\'' +
                ", name='" + name + '\'' +
                ", className='" + className + '\'' +
                ", status=" + status +
                ", sort=" + sort +
                ", type=" + type +
                ", parentName='" + parentName + '\'' +
                '}';
    }
}
